﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Tetris
{
    [Serializable]
    public class Cell
    {
        private bool available; //boolean to know if the cell is available or not

        /// <summary>
        /// Default constructor
        /// </summary>
        public Cell()
        {
            available = true;
        }

        /// <summary>
        /// Specify constructor, used if we have to specify a value for available
        /// </summary>
        /// <param name="available"></param>
        public Cell(bool available)
        {
            this.available = available;
        }

        /// <summary>
        /// get/set available
        /// </summary>
        public bool Available
        {
            get
            {
                return available;
            }
            set
            {
                available = value;
            }
        }
    }
}
